/**----------------------------------------
 * @description 数据管理类
 * @author      lxc
 * @file        DataManager.ts
 * @Date        2022-05-05
 * @version     1.0.0
 * ----------------------------------------
 */

import { LogClass } from "./LogClass";

export class DataManager extends LogClass{

    constructor(){
        super("DataManager")
    }

    private baseData : any = {}

    setDataByKey(key,value){
        this.baseData[key] = value
    }

    getDataByKey(key){
        return this.baseData[key]
    }

    // 游戏和阶段和状态是两个值，在初始化阶段，目前处于暂停状态
}